package com.hiedu.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootConfiguration //自动加入到springboot中生效
@MapperScan("com.hiedu.mapper") //扫描指定包下的接口
public class MyBatisConfig {
}
